package com.sikaryofficial.backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sikaryofficial.backend.domain.dto.resp.music.MusicGenreVO;
import com.sikaryofficial.backend.domain.entity.MusicGenre;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 音乐分类Mapper接口
 *
 * @author qinjinyuan
 * @date 2024-08-07
 */
public interface MusicGenreMapper extends BaseMapper<MusicGenre> {
    /**
     * 根据音乐ID 获取音乐列表
     * @param musicId
     * @return
     */
    List<MusicGenreVO> getGenreListByMusicIds(@Param("musicIds") List<Long> musicIds);
}
